package com.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 站内信与邮件通知
 * </p>
 * @author 34448
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("internal_messages")
public class InternalMessageDO {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "消息ID")
    private Integer messageId;

    @ApiModelProperty(value = "发送者ID")
    private Integer senderId;

    @ApiModelProperty(value = "接收者ID")
    private Integer receiverId;

    @ApiModelProperty(value = "主题")
    private String subject;

    @ApiModelProperty(value = "正文")
    private String body;

    @ApiModelProperty(value = "发送日期")
    private Date sendDate;

    @ApiModelProperty(value = "已读状态")
    private Boolean readStatus;

    @ApiModelProperty(value = "创建人")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private Integer updateBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}